using B.S.Data.MES.API.Dto.CangKuDTO;
using B.S.Requst;
using MediatR;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.Data.MES.API.Applications.CangKu.Command
{
    public class GetCangKuPagedCommand : IRequest<APIRequst<APIPageing<List<CangKuDTO>>>>
    {
        /// <summary>
        /// 当前页码
        /// </summary>
        public int PageIndex { get; set; } = 1;

        /// <summary>
        /// 每页记录数
        /// </summary>
        public int PageSize { get; set; } = 10;
        
        /// <summary>
        /// 仓库编码
        /// </summary>
        public string ?CangkuNo { get; set; }
        
        /// <summary>
        /// 仓库名称
        /// </summary>
        public string ?CangName { get; set; }
        
        /// <summary>
        /// 仓库类型ID
        /// </summary>
        public int? CangTypeId { get; set; }
        
        /// <summary>
        /// 仓管员（Role字段）
        /// </summary>
        public string ?Role { get; set; }
    }
}